from django.conf.urls import url
from . import views

urlpatterns = [
    # QQ登陆
    url(r'^qq/login/$', views.QQAuthURLView.as_view(), name='qqlogin'),
    url(r'^oauth_callback/$', views.QQAuthUserView.as_view(), name='qqcallback'),
    # 微博登陆
    url(r'^sina/login/$', views.WeiboAuthURLView.as_view(), name='weibologin'),
    url(r'^sina_callback/$', views.WeiboAuthUserView.as_view(), name='weobicallback'),
]